<?php
/*
	插件初始化
*/
$worker=pdo_get('jy_weishop_store_worker',array('mid'=>$_SESSION['uid'],'uniacid'=>$_SESSION['uniacid']));
$this->workerid=$worker['id'];
if(!$this->workerid){
	$current_plugin='jy_shopbaoxiu';
	exi('你不是店员，无法登录','error',$current_plugin.'/index/');
}